package starcoast.bocai.com.starcoast.fragments.order;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ListView;

import butterknife.Bind;
import butterknife.ButterKnife;
import starcoast.bocai.com.starcoast.R;
import starcoast.bocai.com.starcoast.adapter.MyOrderAdapter;
import starcoast.bocai.com.starcoast.common.BaseFragment;

/**
 * Created by admin on 2016/6/15.
 */
public class WaitShipOrderFragment extends BaseFragment {
    View view;
    @Bind(R.id.all_order_lv)
    ListView all_order_lv;
    MyOrderAdapter adapter;
    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        view = inflater.inflate(R.layout.fragment_all_order, container, false);
        ButterKnife.bind(this,view);
        initView();
        return view;
    }
    public void initView(){
        adapter = new MyOrderAdapter(getActivity());
        all_order_lv.setAdapter(adapter);
    }
}
